<!DOCTYPE HTML>
<html>
	<head>
		<title>测试</title>
		<link rel="stylesheet" type="text/css" href="<?=n_css('skin','reset')?>" />
		<link rel="stylesheet" type="text/css" href="<?=n_css('skin','layout')?>" />
		<link rel="stylesheet" type="text/css" href="<?=n_css('skin','eowl')?>" />
		<script src="<?=n_js('skin','jquery-2.0.3.min')?>"></script>
		<script src="<?=n_js('skin','tools')?>"></script>
		<script src="<?=n_js('skin','ui')?>"></script>
		<style>
		/*
		 * 主色:#555555
		 * 主配色:#3B8D8D
		 * 边框色:#d9dadc
		 *
		 * */
		.n-debug{border:1px solid red;}
		/*------------------------------------*/
		.n-middle{margin:0 auto;}
		.n-max-width{width:1200px;}
		.n-block-bg{background-color: #fff;}
		/*------------------------------------*/

		html,body{margin:0px;padding:0px;font-size:14px;color:#222;}
		body{background-color: #e7e8eb;}
		a{color:#3B8D8D;}


		a:link,a:visited{}
		a:hover{}
		li{}
		
		
		input[type="text"],input[type="password"]{border-color:#d9dadc;background-color:#fff;padding:5px 10px;color:#8d8d8d;}
		input[type="text"]:focus{color:#222;}
		input[type="button"],dl.form input[type="submit"]{}
		input[type="radio"]{}
		input[type="checkbox"]{}
		select{border-color:#d9dadc;background-color:#fff;padding:7px 10px;color:#8d8d8d;}
		textarea{}
		
		
		dl.n-box{}
		dl.n-box dt.n-box-head{border-color:#d9dadc;}
		dl.n-box dt.n-box-head a.func{font-weight:normal;float:right;}
		dl.n-box dd.n-box-body{}


		/*------------------------------------*/
		#header{border-top:4px solid #3B8D8D;border-bottom: 1px solid #d9dadc;padding:10px 0px;margin-bottom:30px;}
		#header .nav{float:right;margin-right:200px;margin-top: 20px;}
		#header .nav a{display:inline-block;padding:0 30px;font-size:20px;line-height: 50px;}
		#header .nav a:hover{background-color:#d9dadc;}
		#header .passport{line-height:70px;margin-right:20px;}
		#body{margin-top:30px;border:1px solid #d9dadc;background-color: #d9dadc;}
		#body #left{float:left;width:200px;background-color: #fff;}
		#body #right{margin-left:201px;height:1400px;background-color: #fff;}
		
		#footer{padding:30px 0px;text-align: center;background-color:#b8b9b9;margin-top:88px;}
		#footer .links{display:inline-block;width:50%;text-align:left;}
		#footer .copyright{display:inline-block;width:40%;text-align:right;}
		div.a-menu-item{border-bottom: 1px solid #d9dadc;padding:20px 0px;}
		div.a-menu-item{text-align: center;}
		dl.a-menu-item{border-bottom: 1px solid #d9dadc;padding:6px 0px;}
		dl.a-menu-item dt{margin:0px;line-height:34px;padding:0px 30px;color:#8d8d8d;}
		dl.a-menu-item dt img{margin-right:4px;}
		dl.a-menu-item dd{}
		dl.a-menu-item dd a{display:block;padding-left:58px;line-height:34px;}
		dl.a-menu-item dd a:hover{background-color:#F4F5F9;}
		</style>
	</head>
	
	<body>
		<div id="header" class="n-block-bg">
			<div class="n-max-width n-middle">
				<div class="passport n-right">
					<?php
					if(empty($_SESSION['ppid'])){
					?>
					
					<a href="<?=n_url('passport','login')?>">注册登陆</a>
					
					<?php
					}else{
					?>
					您好:<?=$_SESSION['uname']?>
					<a href="<?=n_url('member','index')?>">个人中心</a>
					[<a href="<?=n_url('passport','dologout')?>">退出</a>]
					<?php
					}
					?>
				</div>
				<a href="/">
				<img style="display: inline-block;" src="<?=n_img('skin','logo-100.png')?>" />
				</a>
				<div class="nav">
					<a href="<?=n_url('index','index')?>">首页</a>
					<a href="<?=n_url('sdoc','index')?>">文档</a>
					<a href="<?=n_url('sbbs','index')?>">论坛</a>
				</div>
				
			</div>
		</div>
